package com.office.mapper;

import com.office.bean.Emp;
import com.office.bean.EmpManger;
import com.office.bean.TDepart;
import com.office.bean.TLoginlog;

import java.util.List;
import java.util.Map;

public interface Mapper {
    Emp login (Emp emp);
    List<EmpManger>findDepartAndEmp(int empid, int departid);

    int findallcoutEmp();

    List<EmpManger> findempBypage(Map<String, Object> map);

    List<TDepart> finddeparts();

    boolean addemp(Emp emp);

    boolean updateflag(int id, int flag);

    List<Integer> findMajorAndEmpAllcount();
}
